<html>
<head><meta charset="utf-8"><title>doc build error caused by dependency · general · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/index.html">general</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/doc.20build.20error.20caused.20by.20dependency.html">doc build error caused by dependency</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="234208291"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/doc%20build%20error%20caused%20by%20dependency/near/234208291" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Luis Wirth <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/doc.20build.20error.20caused.20by.20dependency.html#234208291">(Apr 12 2021 at 18:33)</a>:</h4>
<p>I just published a crate to <a href="http://crates.io">crates.io</a>. The doc build fails because one of the dependencies (<code>xcb</code>) apparently has a build script which tries to write into the read only filesystem (<code>OUT_DIR</code> not respected). Is there an easy way for me to avoid this? Removing the dependency is not an option.</p>



<a name="234209254"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/doc%20build%20error%20caused%20by%20dependency/near/234209254" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jonas Schievink  [he/him] <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/doc.20build.20error.20caused.20by.20dependency.html#234209254">(Apr 12 2021 at 18:40)</a>:</h4>
<p>Fix the build script to not do that would be my suggestion</p>



<a name="234209697"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/doc%20build%20error%20caused%20by%20dependency/near/234209697" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/doc.20build.20error.20caused.20by.20dependency.html#234209697">(Apr 12 2021 at 18:43)</a>:</h4>
<p><span class="user-mention" data-user-id="311029">@Luis Wirth</span> that should be fixed in the latest version of xcb IIRC</p>



<a name="234212203"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/doc%20build%20error%20caused%20by%20dependency/near/234212203" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Luis Wirth <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/doc.20build.20error.20caused.20by.20dependency.html#234212203">(Apr 12 2021 at 19:00)</a>:</h4>
<p><span class="user-mention" data-user-id="232545">@Joshua Nelson</span> Thanks for letting me know :). I will switch from <code>clipboard</code> to <code>copypasta</code> because it has <code>xcb</code> up to date.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>